SwarmGuide: Towards Multiple-Query Optimization in Graph Databases
نویسندگان
چکیده
Preliminaries. A graph database G is a finite, directed, edge-labeled, multigraph defined by G = 〈N,Σ,E〉, where N is a finite set of nodes (vertices), Σ is a set of labels, E is a set of directed, labeled edges, and E ⊆ N ×Σ×N . A path p in G is defined as a sequence of n0a0n1 · · · nk−1ak−1nk where ni ∈ N , ai ∈ Σ, and 〈ni, ai, ni+1〉 ∈ E for 0 ≤ i ≤ k. We call the sequence of edge labels Σ∗ of a particular path p the word, ω(p) that p induces. A regular path rp is a path in the graph where ω(rp) is a word in a given regular language L(reg) (e.g., ω(rp) ∈ L(reg)). A regular path query (RPQ) [2] is a triple 〈x, reg, y〉 in which x and y are free variables over the domain of nodes, and reg is a regular expression. An answer of an RPQ is a node-pair 〈s, t〉 (s, t ∈ N) such that there is a path p in G between s and t and ω(p) ∈ L(reg). The answer set of an RPQ is the set of all its answers. The RDF data model and SPARQL query language instantiate these concepts. With the introduction of property paths in SPARQL 1.1, the query language encompasses RPQs. For our examples in this paper, we adopt SPARQL syntax.
منابع مشابه
Towards a Query Language for Annotation Graphs
The multidimensional, heterogeneous, and temporal nature of speech databases raises interesting challenges for representation and query. Recently, annotation graphs have been proposed as a general-purpose representational framework for speech databases. Typical queries on annotation graphs require path expressions similar to those used in semistructured query languages. However, the underlying ...
متن کاملRelational Databases Query Optimization using Hybrid Evolutionary Algorithm
Optimizing the database queries is one of hard research problems. Exhaustive search techniques like dynamic programming is suitable for queries with a few relations, but by increasing the number of relations in query, much use of memory and processing is needed, and the use of these methods is not suitable, so we have to use random and evolutionary methods. The use of evolutionary methods, beca...
متن کاملQuery Optimization Techniques In Graph Databases
Graph databases (GDB) have recently been arisen to overcome the limits of traditional databases for storing and managing data with graph-like structure. Today, they represent a requirementfor many applications that manage graph-like data,like social networks.Most of the techniques, applied to optimize queries in graph databases, have been used in traditional databases, distribution systems,... ...
متن کاملLearning to Speed Up Query Planning in Graph Databases
Querying graph structured data is a fundamental operation that enables important applications including knowledge graph search, social network analysis, and cyber-network security. However, the growing size of real-world data graphs poses severe challenges for graph databases to meet the response-time requirements of the applications. Planning the computational steps of query processing – Query...
متن کاملLearning to Speed Up Query Planning in Graph Databases
Querying graph structured data is a fundamental operation that enables important applications including knowledge graph search, social network analysis, and cyber-network security. However, the growing size of real-world data graphs poses severe challenges for graph databases to meet the response-time requirements of the applications. Planning the computational steps of query processing – Query...
متن کامل